package com.yks.pls;

import java.util.ArrayList;

public class HeapOom {
    byte[] b = new byte[1024*100];

    public static void main(String[] args) throws InterruptedException {
        ArrayList<HeapOom> heapOoms = new ArrayList<>();
        while (true){
            HeapOom heapOom = new HeapOom();
            heapOoms.add(heapOom);
            Thread.sleep(10);
        }
    }
}
